From: Florian Fainelli Date: Thu, 7 Aug 2008 12:01:55 +0000 (+0000) Subject: avrusbboot needs libgcc to compile correctly X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f7330106178b957205f9ac89c4c52f7347a56b34;p=openwrt%2Fsvn-archive%2Fpackages.git avrusbboot needs libgcc to compile correctly SVN-Revision: 12237 --- diff --git a/utils/avrusbboot/Makefile b/utils/avrusbboot/Makefile index 437784214..7313d523a 100644 --- a/utils/avrusbboot/Makefile +++ b/utils/avrusbboot/Makefile @@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk define Package/avrusbboot SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libusb +uclibcxx + DEPENDS:=+libusb +uclibcxx +libgcc TITLE:=USB bootloader for Atmel AVR controllers URL:=http://www.fischl.de/avrusbboot/ endef @@ -42,7 +42,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/software \ CXX="$(TARGET_CROSS)g++ $(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++ -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/uClibc++" \ - LFLAGS="-L$(STAGING_DIR)/usr/lib -nodefaultlibs -luClibc++ -lusb" \ + LFLAGS="-L$(STAGING_DIR)/usr/lib -nodefaultlibs -luClibc++ -lusb -lgcc_s" \ all endef